{% extends "base_14_7.html" %}
{% block title %}杏坛路{% endblock %}
 
{% block top %}
<div id="top" class="grid_21 alpha omega">
    <div class="slogen">
        <a href="/" class="slogen">你们去征服世界，我只想征服一个人的胃和心</a>
        <div class="clear"></div>
        <span>by 五谷磨坊</span>
    </div>
</div>

<div class="banner grid_21 alpha omega">
    <div class="grid_14 alpha banner_left">
        <a href="/"><img width="560" height="260" src="http://ww4.sinaimg.cn/large/ac535612gw1dwmrgghqt3j.jpg" /></a>
    </div>
    {% if not user.is_authenticated %}
    <div id="home_banner_right" class="grid_7 omega white">
        <a id="login" href="/account/weiboauth/"><img src="/static/img/loginbtn_01.png"></img></a>
    </div>
    {% else %}
    <div id="home_banner_right_auth" class="grid_7 omega white">
        <!-- 个人设置页面 -->
        <div id="profile" class="grid_7 alpha omega">
            <div class="prefix_1 grid_3 alpha">
                <a href="/"><img alt="头像" height="80" width="80" src="{{ user.account.lpic }}"></img></a>
            </div>
        
            <div class="grid_3 omega">
                <div id="first_name">{{ user.first_name }}</div>
                </br>
                <a class="gray" href="/account/logout/">退出</a>
            </div>
        </div>
        
        <div class="clear_fix"></div>
        
        <div id="info" class="prefix_1 grid_6 alpha omega">
        <ul>
            <li class="grid_2 alpha"><a class="ju" href="/">回复我的（1）</a></li>
            <li class="grid_2"><a class="ju" href="/">发表过</a></li>
            <li class="grid_2 omega"><a class="ju" href="/">我回复过</a></li>
        </ul>
        </div>
    </div>
    {% endif %}
</div>
        

<div class="clear"></div><br><br>

{% endblock %}

<!-- left -->
{% block left %}
<img src="/static/post.jpg"></img>
    
<div class="clear"></div>

{% endblock %} 

<!-- right -->    
{% block right %}

{% endblock %}
